package com.tempjob.app.controller.model;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author hui
 * @Date 2024/11/19 20:10
 **/
@Data
@ApiModel
public class ListResult {

    private boolean success;
    private int code;
    private String msg;
    private ListData data;

    @Data
    @ApiModel
    public static class ListData {
        private int pageNum;
        private int pageSize;
        private int total;
        private int pages;
        private List<Result> result;
    }

    @Data
    @ApiModel
    public static class Result {
        private String orderId;
        private String postId;
        private String postTitle;
        private String majorTitle;
        private String majorId;
        private String welfare;
        private int money;
        private String unit;
        private int payMode;
        private int orderType;
        private Date startDate;
        private Date endDate;
        private String workTime;
        private String updateTime;
        private String orgId;
        private Org org;
        private String lat;
        private String lng;
        private String addressTitle;
        private String street;
        private String distance;
        private String districtId;
        private String city;
        private String district;
        private String signState;
    }

    @Data
    @ApiModel
    public static class Org {
        private String orgId;
        private String orgName;
        private String orgType;
        private String orgCode;
        private String orgLogo;
        private String orgImg;
        private String industry;
        private String scale;
        private String regDate;
        private String intro;
        private String hierarchy;
    }
}
